<?php 
class welcome extends CI_Controller {

function welcome()
         {
   parent::__construct();
   $this->load->helper("url_helper");
       $this->load->model('home_model');
	   $this->load->model('common_model');
       session_start();

       }
	 
	public function index()
	{
		
		$result=$this->common_model->getKeywords('home'); 
		$data['keywords']=$result;
		$this->load->view('index',$data);
		$result=$this->home_model->savetrack();
		
	}
}

 